package yaner.hotel.manager.resource.mapper;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import yaner.hotel.manager.common.dto.roomType.RoomTypeAddDto;
import yaner.hotel.manager.common.dto.roomType.RoomTypeUpdateDto;
import yaner.hotel.manager.common.vo.RoomTypeVo;
import yaner.hotel.manager.resource.entity.RoomType;

@Mapper
public interface IRoomTypeMapper {
    IRoomTypeMapper INSTANCE = Mappers.getMapper(IRoomTypeMapper.class);

    RoomTypeVo toVo(RoomType roomType);

    RoomType toAddEntity(RoomTypeAddDto roomTypeAddDto);

    RoomType toUpdateEntity(RoomTypeUpdateDto roomTypeUpdateDto);
}
